home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
edit
/
tde40.zip
/
cfgfile.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-05
|
21KB
|
594 lines
#ifndef MY_TYPES
#define MY_TYPES
/*
* mode indexes
*/
#define Ins 0
#define Ind 1
#define PTAB 2
#define LTAB 3
#define Smart 4
#define Write_Z 5
#define Crlf 6
#define Trim 7
#define Eol 8
#define WW 9
#define Left 10
#define Para 11
#define Right 12
#define Size 13
#define Backup 14
#define Ruler 15
#define Date 16
#define Time 17
#define Initcase 18
#define InflateTabs 19
#define Match 20
#define Ignore 21
#define JustRM 22
/*
* structure for list of available keys. See default.h for more info.
*/
typedef struct {
char *key; /* key name */
int key_index; /* offset into key structure in tde.exe file */
} CONFIG_DEFS;
#endif
/*
* Group the list of available keys alphabetically.
*/
CONFIG_DEFS valid_keys[AVAIL_KEYS] = {
/* available key index into file */
{ "a+\'", 40 },
{ "a+-", 130 },
{ "a+0", 129 },
{ "a+1", 120 },
{ "a+2", 121 },
{ "a+3", 122 },
{ "a+4", 123 },
{ "a+5", 124 },
{ "a+6", 125 },
{ "a+7", 126 },
{ "a+8", 127 },
{ "a+9", 128 },
{ "a+;", 39 },
{ "a+<", 51 },
{ "a+=", 131 },
{ "a+>", 52 },
{ "a+?", 53 },
{ "a+[", 26 },
{ "a+]", 27 },
{ "a+a", 30 },
{ "a+b", 48 },
{ "a+backspace", 14 },
{ "a+c", 46 },
{ "a+d", 32 },
{ "a+e", 18 },
{ "a+enter", 28 },
{ "a+esc", 1 },
{ "a+f", 33 },
{ "a+f1", 104 },
{ "a+f10", 113 },
{ "a+f11", 139 },
{ "a+f12", 140 },
{ "a+f2", 105 },
{ "a+f3", 106 },
{ "a+f4", 107 },
{ "a+f5", 108 },
{ "a+f6", 109 },
{ "a+f7", 110 },
{ "a+f8", 111 },
{ "a+f9", 112 },
{ "a+g", 34 },
{ "a+grey/", 164 },
{ "a+greydel", 163 },
{ "a+greydown", 160 },
{ "a+greyend", 159 },
{ "a+greyenter", 166 },
{ "a+greyhome", 151 },
{ "a+greyins", 162 },
{ "a+greyleft", 155 },
{ "a+greypgdn", 161 },
{ "a+greypgup", 153 },
{ "a+greyright", 157 },
{ "a+greyup", 152 },
{ "a+h", 35 },
{ "a+i", 23 },
{ "a+j", 36 },
{ "a+k", 37 },
{ "a+l", 38 },
{ "a+m", 50 },
{ "a+n", 49 },
{ "a+o", 24 },
{ "a+p", 25 },
{ "a+q", 16 },
{ "a+r", 19 },
{ "a+s", 31 },
{ "a+t", 20 },
{ "a+tab", 165 },
{ "a+u", 22 },
{ "a+v", 47 },
{ "a+w", 17 },
{ "a+x", 45 },
{ "a+y", 21 },
{ "a+z", 44 },
{ "a+~", 41 },
{ "backspace", 9 },
{ "c+@", 174 },
{ "c+[", 201 },
{ "c+\\", 202 },
{ "c+]", 203 },
{ "c+^", 204 },
{ "c+_", 205 },
{ "c+a", 175 },
{ "c+b", 176 },
{ "c+backspace", 11 },
{ "c+c", 177 },
{ "c+center", 143 },
{ "c+d", 178 },
{ "c+del", 147 },
{ "c+down", 145 },
{ "c+e", 179 },
{ "c+end", 117 },
{ "c+enter", 8 },
{ "c+esc", 4 },
{ "c+f", 180 },
{ "c+f1", 94 },
{ "c+f10", 103 },
{ "c+f11", 137 },
{ "c+f12", 138 },
{ "c+f2", 95 },
{ "c+f3", 96 },
{ "c+f4", 97 },
{ "c+f5", 98 },
{ "c+f6", 99 },
{ "c+f7", 100 },
{ "c+f8", 101 },
{ "c+f9", 102 },
{ "c+g", 181 },
{ "c+grey*", 150 },
{ "c+grey+", 144 },
{ "c+grey-", 142 },
{ "c+grey/", 149 },
{ "c+greyenter", 43 },
{ "c+h", 182 },
{ "c+home", 119 },
{ "c+i", 183 },
{ "c+ins", 146 },
{ "c+j", 184 },
{ "c+k", 185 },
{ "c+l", 186 },
{ "c+left", 115 },
{ "c+m", 187 },
{ "c+n", 188 },
{ "c+o", 189 },
{ "c+p", 190 },
{ "c+pgdn", 118 },
{ "c+pgup", 132 },
{ "c+q", 191 },
{ "c+r", 192 },
{ "c+right", 116 },
{ "c+s", 193 },
{ "c+t", 194 },
{ "c+tab", 148 },
{ "c+u", 195 },
{ "c+up", 141 },
{ "c+v", 196 },
{ "c+w", 197 },
{ "c+x", 198 },
{ "c+y", 199 },
{ "c+z", 200 },
{ "center", 76 },
{ "del", 83 },
{ "down", 80 },
{ "end", 79 },
{ "enter", 6 },
{ "esc", 2 },
{ "f1", 59 },
{ "f10", 68 },
{ "f11", 133 },
{ "f12", 134 },
{ "f2", 60 },
{ "f3", 61 },
{ "f4", 62 },
{ "f5", 63 },
{ "f6", 64 },
{ "f7", 65 },
{ "f8", 66 },
{ "f9", 67 },
{ "grey+", 168 },
{ "grey-", 167 },
{ "greyenter", 29 },
{ "home", 71 },
{ "ins", 82 },
{ "left", 75 },
{ "pgdn", 81 },
{ "pgup", 73 },
{ "right", 77 },
{ "s+a+\'", 242 },
{ "s+a+-", 216 },
{ "s+a+0", 215 },
{ "s+a+1", 206 },
{ "s+a+2", 207 },
{ "s+a+3", 208 },
{ "s+a+4", 209 },
{ "s+a+5", 210 },
{ "s+a+6", 211 },
{ "s+a+7", 212 },
{ "s+a+8", 213 },
{ "s+a+9"